package org.zfes.snowier.zbss.xzy.complain;

import java.io.Serializable;

public class ComplaintCreateDto implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@javax.validation.constraints.NotNull(message="留言会员不能为空")
	  private java.lang.Long userId;
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="长度不能大于60")
	  private java.lang.String account;
	
	@org.hibernate.validator.constraints.Length(min=0,max=1,message="是否匿名长度不能大于1")
	  private java.lang.String isAnonymous;
	@javax.validation.constraints.NotBlank(message="内容不能为空")
	@javax.validation.constraints.NotNull(message="内容不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="内容长度不能大于2,147,483,647")
	  private java.lang.String content;
	public java.lang.String getIsAnonymous() {
		return isAnonymous;
	}
	public ComplaintCreateDto setIsAnonymous(java.lang.String isAnonymous) {
		this.isAnonymous = isAnonymous;
		return this;
	}
	public java.lang.String getContent() {
		return content;
	}
	public ComplaintCreateDto setContent(java.lang.String content) {
		this.content = content;
		return this;
	}
	public java.lang.Long getUserId() {
		return userId;
	}
	public ComplaintCreateDto setUserId(java.lang.Long userId) {
		this.userId = userId;
		return this;
	}
	public java.lang.String getAccount() {
		return account;
	}
	public ComplaintCreateDto setAccount(java.lang.String account) {
		this.account = account;
		return this;
	}
	@Override
	public String toString() {
		return "ComplaintCreateDto [userId=" + userId + ", account=" + account + ", isAnonymous=" + isAnonymous
				+ ", content=" + content + "]";
	}

	
	
}
